//---------------------------------------------------------------------------

#ifndef ErrorH
#define ErrorH

class TError : public Exception
{
   public:
      TError( int code, AnsiString msg);
      int GetCode();

   protected:
      int code;   
};

//---------------------------------------------------------------------------
#endif
